<?php
	/**
	 * Class to set purchase orders attributes
	 */
	class PurchaseOrder {
		private $pkNumber;
		private $pkControlNumber;
		private $date;
		private $tax;
		private	$readStatus;
		private $idClient;
		private $ciRif;
		
		/**
		 * Constructor of the purchase order
		 */
		public function __construct($pkNumber, $pkControlNumber, $date, $tax, $readStatus, 
			$idClient, $ciRif) {
			$this -> pkNumber = $pkNumber;
			$this -> pkControlNumber = $pkControlNumber;
			$this -> date = $date;
			$this -> tax = $tax;
			$this -> readStatus = $readStatus;
	     	$this -> idClient = $idClient;
			$this -> ciRif = $ciRif;
		}
		
		/**
		 * Getter and setter for attribute $pkNumber
		 */
		public function setPkNumber($pkNumber) {
			$this -> pkNumber = $pkNumber;	
		}
		
		public function getPkNumber() {
			return $this -> pkNumber;
		}
		
		/**
		 * Getter and setter for attribute $pkControlNumber
		 */
		public function setPkControlNumber($pkControlNumber) {
			$this -> pkControlNumber = $pkControlNumber;	
		}
		
		public function getPkControlNumber() {
			return $this -> pkControlNumber;
		}
		
		/**
		 * Getter and setter for attribute $date
		 */
		public function setDate($date) {
			$this -> date = $date;	
		}
		
		public function getDate() {
			return $this -> date;
		}
		
		/**
		 * Getter and setter for attribute $tax
		 */
		public function setTax($tax) {
			$this -> tax = $tax;	
		}
		
		public function getTax() {
			return $this -> tax;
		}
		
		/**
		 * Getter and setter for attribute $readStatus
		 */
		public function setReadStatus($readStatus) {
			$this -> readStatus = $readStatus;	
		}
		
		public function getReadStatus() {
			return $this -> readStatus;
		}
		
		
		/**
		 * Getter and setter for attribute $idClient
		 */
		public function setIdClient($idClient) {
			$this -> idClient = $idClient;	
		}
		
		public function getIdClient() {
			return $this -> idClient;
		}
		
		/**
		 * Getter and setter for attribute $ciRif
		 */
		public function setCiRif($ciRif) {
			$this -> ciRif = $ciRif;	
		}
		
		public function getCiRif() {
			return $this -> ciRif;
		}
	}
?>